<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper
  <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
  <mapSources>
    <source type="WSDL">
      <schema location="http://srvmcturpsoa01:8001/soa-infra/services/SERVICIOS/swAbrirExpediente/swAbrirExpediente.wsdl"/>
      <rootElement name="ABRIREXPEDIENTEMR" namespace="http://mincetur.gob.pe/SIC/expediente/abrirExpediente"/>
    </source>
    <source type="WSDL">
      <schema location="../obtenerPlantillasPublisher.wsdl"/>
      <rootElement name="ViSicsclasevenplantCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/obtenerPlantillasPublisher"/>
      <param name="obtenerPlantillas_OutputVariable.ViSicsclasevenplantCollection" />
    </source>
    <source type="WSDL">
      <schema location="../ObtenerRequisitosDA.wsdl"/>
      <rootElement name="ViSicevendocureqCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ObtenerRequisitosDA"/>
      <param name="requisitosLegales_OutputVariable.ViSicevendocureqCollection" />
    </source>
    <source type="WSDL">
      <schema location="../ObtenerRequisitosDA.wsdl"/>
      <rootElement name="ViSicevendocureqCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ObtenerRequisitosDA"/>
      <param name="requisitosTecnicos_OutputVariable.ViSicevendocureqCollection" />
    </source>
    <source type="WSDL">
      <schema location="../ObtenerRequisitosDA.wsdl"/>
      <rootElement name="ViSicevendocureqCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ObtenerRequisitosDA"/>
      <param name="requisitosFinancieros_OutputVariable.ViSicevendocureqCollection" />
    </source>
    <source type="WSDL">
      <schema location="../obtenerGrupoTipoProcedimientoDA.wsdl"/>
      <rootElement name="obtenerGrupoTipoProcedimientoDAOutput" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/obtenerGrupoTipoProcedimientoDA"/>
      <param name="obtenerGrupoEvento_OutputVariable.obtenerGrupoTipoProcedimientoDAOutput" />
    </source>
    <source type="WSDL">
      <schema location="../ObtenerDatosAdicionalesDA.wsdl"/>
      <rootElement name="ViSicversudmCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/ObtenerDatosAdicionalesDA"/>
      <param name="datosAdicionales_OutputVariable.ViSicversudmCollection" />
    </source>
  </mapSources>
  <mapTargets>
    <target type="WSDL">
      <schema location="http://srvmcturucm:8011/S_Compartidos/Proxy/swInstanciaLegalBPM_Proxy?WSDL"/>
      <rootElement name="inicioBpmEvaluacion" namespace="http://xmlns.oracle.com/bpmn/bpmnProcess/bpmEvaluacion"/>
    </target>
  </mapTargets>
  <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [MON OCT 07 11:53:06 COT 2013]. -->
?>
<xsl:stylesheet version="1.0"
                xmlns:ns2="http://mincetur.gob.pe/SIC/expediente/expedienteMR"
                xmlns:ns8="http://mincetur.gob.pe/SIC/expediente/abrirExpediente"
                xmlns:client="http://mincetur.gob.pe/SIC/expediente/swAbrirExpediente"
                xmlns:ns10="http://mincetur.gob.pe/SIC/expediente/enviarSolicitud"
                xmlns:ns12="http://mincetur.gob.pe/SIC/expediente/guardarRequisito"
                xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
                xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
                xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
                xmlns:ns17="http://mincetur.gob.pe/SIC/expediente/obtenerRequerimientosSolicitud"
                xmlns:ora="http://schemas.oracle.com/xpath/extension"
                xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
                xmlns:ns21="http://mincetur.gob.pe/SIC/expediente/registrarEstadoEvento"
                xmlns:ns6="http://mincetur.gob.pe/SIC/expediente/obtenerDetalleRequisito"
                xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
                xmlns:ns7="http://mincetur.gob.pe/SIC/persona/obtenerRepresentantes"
                xmlns:ns22="http://xmlns.oracle.com/pcbpel/adapter/db/Servicios+Web/swEnviarSolicitud/obtenerPlantillasPublisher"
                xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
                xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/obtenerPlantillasPublisher"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
                xmlns:ns3="http://mincetur.gob.pe/SIC/expediente/obtenerSolicitud"
                xmlns:ns25="http://xmlns.oracle.com/bpmn/bpmnProcess/bpmEvaluacion"
                xmlns:ns16="http://mincetur.gob.pe/SIC/persona/personaTipo"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:ns20="http://mincetur.gob.pe/SIC/expediente/crearSolicitud"
                xmlns:ns0="http://mincetur.gob.pe/SIC/expediente/ejecutarAccionMC"
                xmlns:ns5="http://mincetur.gob.pe/SIC/expediente/guardarSolicitud"
                xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
                xmlns:ns27="http://xmlns.oracle.com/pcbpel/adapter/db/SOA-INFRA/swEnviarSolicitud/ObtenerDatosAdicionalesDA"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:ns11="http://mincetur.gob.pe/SIC/persona/crearRepresentanteMC"
                xmlns:ns13="http://mincetur.gob.pe/SIC/expediente/obtenerRequisitos"
                xmlns:ns29="http://mincetur.gob.pe/SIC/expediente/urlExternaTipo"
                xmlns:ns14="http://mincetur.gob.pe/SIC/documento/DocumentoTipo"
                xmlns:ns4="http://mincetur.gob.pe/SIC/utilitarios/errorMR"
                xmlns:inp1="http://xmlns.oracle.com/singleString"
                xmlns:ns26="http://xmlns.oracle.com/pcbpel/adapter/db/SOA-INFRA/swEnviarSolicitud/obtenerGrupoTipoProcedimientoDA"
                xmlns:ns28="http://xmlns.oracle.com/pcbpel/adapter/db/top/ObtenerDatosAdicionalesDA"
                xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:tns="http://mincetur.gob.pe/SIC/expediente/swExpediente"
                xmlns:ns18="http://mincetur.gob.pe/SIC/expediente/solicitudRM"
                xmlns:ns19="http://mincetur.gob.pe/SIC/documento/RelacionarDocumentoMC"
                xmlns:ns23="http://xmlns.oracle.com/pcbpel/adapter/db/SOA/swEnviarSolicitud/ObtenerRequisitosDA"
                xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/obtenerGrupoTipoProcedimientoDA"
                xmlns:ns9="http://mincetur.gob.pe/SIC/accion/accionSolicitudTipo"
                xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                xmlns:med="http://schemas.oracle.com/mediator/xpath"
                xmlns:ns24="http://xmlns.oracle.com/pcbpel/adapter/db/top/ObtenerRequisitosDA"
                xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                xmlns:ns15="http://mincetur.gob.pe/SIC/documento/PlantillaTipo"
                xmlns:ns1="http://mincetur.gob.pe/SIC/expediente/expedienteMC"
                xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                xmlns:bpmn="http://schemas.oracle.com/bpm/xpath"
                xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
                exclude-result-prefixes="xsl xsi ns8 client plt ns7 ns22 top ns3 ns16 xsd ns27 ns13 ns14 ns4 ns26 ns28 wsdl ns23 db ns24 SOAP-ENC ns25 ns29 soap ns18 ns9 ns15 bpm ora socket mhdr dvm xdk bpws xp20 bpel oraext hwf med ids xref bpmn ldap">
  <xsl:param name="obtenerPlantillas_OutputVariable.ViSicsclasevenplantCollection"/>
  <xsl:param name="requisitosLegales_OutputVariable.ViSicevendocureqCollection"/>
  <xsl:param name="requisitosTecnicos_OutputVariable.ViSicevendocureqCollection"/>
  <xsl:param name="requisitosFinancieros_OutputVariable.ViSicevendocureqCollection"/>
  <xsl:param name="obtenerGrupoEvento_OutputVariable.obtenerGrupoTipoProcedimientoDAOutput"/>
  <xsl:param name="datosAdicionales_OutputVariable.ViSicversudmCollection"/>
  <xsl:template match="/">
    <ns25:inicioBpmEvaluacion>
      <ns18:getSolicitudTupaRM>
        <ns18:solicitudes>
          <ns18:solicitud>
            <xsl:attribute name="idEvento">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@ID_EVEN"/>
            </xsl:attribute>
            <xsl:attribute name="idProcedimiento">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@ID_SCLASEEVEN"/>
            </xsl:attribute>
            <xsl:attribute name="fechaCreacion">
              <xsl:value-of select='xp20:format-dateTime(/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@FEC_CREACION,"[D01]/[M01]/[Y0001] [h01]:[h01]:[s01]")'/>
            </xsl:attribute>
            <xsl:attribute name="correlation">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@COD_EXPE"/>
            </xsl:attribute>
            <xsl:attribute name="fechaDesde">
              <xsl:value-of select='xp20:format-dateTime(/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@FEC_DESDE,"[D01]/[M01]/[Y0001]")'/>
            </xsl:attribute>
            <xsl:attribute name="fechaHasta">
              <xsl:value-of select='xp20:format-dateTime(/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@FEC_HASTA,"[D01]/[M01]/[Y0001]")'/>
            </xsl:attribute>
            <xsl:attribute name="plazo">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@NUM_DIAPLAZO"/>
            </xsl:attribute>
            <xsl:attribute name="DES_EXPEDIENTE">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@COD_EXPE"/>
            </xsl:attribute>
            <xsl:attribute name="DES_EVALS">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@COD_TIPOSREQUISITO"/>
            </xsl:attribute>
            <xsl:attribute name="FLG_SILEADMI">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@FLG_SILEADMI"/>
            </xsl:attribute>
            <xsl:attribute name="DES_ESTAINST">
              <xsl:text disable-output-escaping="no">SICESTANORM</xsl:text>
            </xsl:attribute>
            <xsl:attribute name="DES_EXPEINST">
              <xsl:text disable-output-escaping="no">PRIMERA</xsl:text>
            </xsl:attribute>
            <xsl:attribute name="DES_PERSFUNCRESP">
              <xsl:text disable-output-escaping="no"></xsl:text>
            </xsl:attribute>
            <xsl:attribute name="COD_PROCEDIMIENTO">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@COD_SCLASEEVEN"/>
            </xsl:attribute>
            <xsl:attribute name="COD_SGRUPSCLASEEVEN">
              <xsl:value-of select="$obtenerGrupoEvento_OutputVariable.obtenerGrupoTipoProcedimientoDAOutput/db:obtenerGrupoTipoProcedimientoDAOutput/db:COD_SGRUSCLASEEVEN"/>
            </xsl:attribute>
            <ns18:procedimiento>
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@DES_SCLASEEVEN"/>
            </ns18:procedimiento>
            <ns18:notasGenerales>
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/@DES_NOTAS"/>
            </ns18:notasGenerales>
            <ns18:administrado>
              <xsl:attribute name="idPersona">
                <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:ADMINISTRADO/@ID_PERS"/>
              </xsl:attribute>
              <xsl:attribute name="idTipoPersona">
                <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:ADMINISTRADO/ns16:TIPO_PERSONA/@ID_TIPOPERS"/>
              </xsl:attribute>
              <xsl:attribute name="tipoPersona">
                <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:ADMINISTRADO/ns16:TIPO_PERSONA/@DES_TIPOPERS"/>
              </xsl:attribute>
              <ns18:nombre>
                <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:ADMINISTRADO/@DES_PERS"/>
              </ns18:nombre>
              <ns18:documentosIdentificacion>
                <xsl:for-each select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:ADMINISTRADO/ns16:DOCUMENTOSIDENTIFICACION/ns16:DOCUMENTOIDENTIFICACION">
                  <ns18:documentoIdentificacion>
                    <xsl:attribute name="idTipoDocumentoIdentificacion">
                      <xsl:value-of select="@ID_TIPOIDEN"/>
                    </xsl:attribute>
                    <xsl:attribute name="tipoDocumentoIdentificacion">
                      <xsl:value-of select="@DES_TIPOIDEN"/>
                    </xsl:attribute>
                    <ns18:numDocumentoIdentificacion>
                      <xsl:value-of select="@COD_IDEN"/>
                    </ns18:numDocumentoIdentificacion>
                  </ns18:documentoIdentificacion>
                </xsl:for-each>
              </ns18:documentosIdentificacion>
              <ns18:informacionRepresentante>
                <xsl:attribute name="nombreRepresentante">
                  <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:REPRESENTANTES/ns7:REPRESENTANTE/@DES_REPRE"/>
                </xsl:attribute>
                <ns18:telefono>
                  <xsl:attribute name="fijo">
                    <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:REPRESENTANTES/ns7:REPRESENTANTE/@TELEFIJO"/>
                  </xsl:attribute>
                  <xsl:attribute name="celular">
                    <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:REPRESENTANTES/ns7:REPRESENTANTE/@TELECELULAR"/>
                  </xsl:attribute>
                  <xsl:attribute name="fax">
                    <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:REPRESENTANTES/ns7:REPRESENTANTE/@TELEFAX"/>
                  </xsl:attribute>
                </ns18:telefono>
                <ns18:virtual>
                  <xsl:attribute name="email">
                    <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:REPRESENTANTES/ns7:REPRESENTANTE/@MAIL"/>
                  </xsl:attribute>
                </ns18:virtual>
              </ns18:informacionRepresentante>
              <ns18:domicilioProcesal>
                <xsl:attribute name="ubigeo">
                  <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:ADMINISTRADO/@DES_UBIGEO"/>
                </xsl:attribute>
                <ns18:direccion>
                  <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:SOLICITUD/ns3:ADMINISTRADO/@DES_DIRECCION"/>
                </ns18:direccion>
              </ns18:domicilioProcesal>
            </ns18:administrado>
            <ns18:REQUERIMIENTOS_LEGAL>
              <xsl:for-each select="$requisitosLegales_OutputVariable.ViSicevendocureqCollection/ns24:ViSicevendocureqCollection/ns24:ViSicevendocureq">
                <ns18:REQUERIMIENTO>
                  <xsl:attribute name="NUM_IDDOCUMENTO">
                    <xsl:value-of select="ns24:viSicdocu/ns24:idDocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="NUM_IDTIPOREQUISITO">
                    <xsl:value-of select="ns24:idStipodocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_TIPOREQUISITO">
                    <xsl:value-of select="ns24:desStipodocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_COMENTARIO">
                    <xsl:value-of select="ns24:desNotas"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_ESTADO">
                    <xsl:text disable-output-escaping="no">P</xsl:text>
                  </xsl:attribute>
                  <xsl:attribute name="NUM_CANTDOCUBINA">
                    <xsl:value-of select="ns24:numCantdocubina"/>
                  </xsl:attribute>
                  <xsl:attribute name="COD_GRUPO">
                    <xsl:text disable-output-escaping="no">COD_GRUPO</xsl:text>
                  </xsl:attribute>
                  <xsl:attribute name="COD_SCLASEEVENASOC">
                    <xsl:text disable-output-escaping="no">COD_SCLASEEVENASOC</xsl:text>
                  </xsl:attribute>
                  <ns18:METADATOS>
                    <xsl:for-each select="ns24:viSicdocu/ns24:viSicdocutatriCollection/ns24:ViSicdocutatri">
                      <ns18:METADATA>
                        <xsl:attribute name="DES_ATRIBUTO">
                          <xsl:value-of select="ns24:sic1Tatri/ns24:desEtiqueta"/>
                        </xsl:attribute>
                        <xsl:attribute name="DES_VALOR">
                          <xsl:value-of select="ns24:codValoratrib"/>
                        </xsl:attribute>
                      </ns18:METADATA>
                    </xsl:for-each>
                  </ns18:METADATOS>
                </ns18:REQUERIMIENTO>
              </xsl:for-each>
            </ns18:REQUERIMIENTOS_LEGAL>
            <ns18:REQUERIMIENTOS_TECNICO>
              <xsl:for-each select="$requisitosTecnicos_OutputVariable.ViSicevendocureqCollection/ns24:ViSicevendocureqCollection/ns24:ViSicevendocureq">
                <ns18:REQUERIMIENTO>
                  <xsl:attribute name="NUM_IDDOCUMENTO">
                    <xsl:value-of select="ns24:viSicdocu/ns24:idDocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="NUM_IDTIPOREQUISITO">
                    <xsl:value-of select="ns24:idStipodocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_TIPOREQUISITO">
                    <xsl:value-of select="ns24:desStipodocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_COMENTARIO">
                    <xsl:value-of select="ns24:desNotas"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_ESTADO">
                    <xsl:text disable-output-escaping="no">P</xsl:text>
                  </xsl:attribute>
                  <xsl:attribute name="NUM_CANTDOCUBINA">
                    <xsl:value-of select="ns24:numCantdocubina"/>
                  </xsl:attribute>
                  <xsl:attribute name="COD_GRUPO">
                    <xsl:text disable-output-escaping="no">COD_GRUPO</xsl:text>
                  </xsl:attribute>
                  <xsl:attribute name="COD_SCLASEEVENASOC">
                    <xsl:text disable-output-escaping="no">COD_SCLASEEVENASOC</xsl:text>
                  </xsl:attribute>
                  <ns18:METADATOS>
                    <xsl:for-each select="ns24:viSicdocu/ns24:viSicdocutatriCollection/ns24:ViSicdocutatri">
                      <ns18:METADATA>
                        <xsl:attribute name="DES_ATRIBUTO">
                          <xsl:value-of select="ns24:sic1Tatri/ns24:desEtiqueta"/>
                        </xsl:attribute>
                        <xsl:attribute name="DES_VALOR">
                          <xsl:value-of select="ns24:codValoratrib"/>
                        </xsl:attribute>
                      </ns18:METADATA>
                    </xsl:for-each>
                  </ns18:METADATOS>
                </ns18:REQUERIMIENTO>
              </xsl:for-each>
            </ns18:REQUERIMIENTOS_TECNICO>
            <ns18:REQUERIMIENTOS_FINANCIERO>
              <xsl:for-each select="$requisitosFinancieros_OutputVariable.ViSicevendocureqCollection/ns24:ViSicevendocureqCollection/ns24:ViSicevendocureq">
                <ns18:REQUERIMIENTO>
                  <xsl:attribute name="NUM_IDDOCUMENTO">
                    <xsl:value-of select="ns24:viSicdocu/ns24:idDocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="NUM_IDTIPOREQUISITO">
                    <xsl:value-of select="ns24:idStipodocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_TIPOREQUISITO">
                    <xsl:value-of select="ns24:desStipodocu"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_COMENTARIO">
                    <xsl:value-of select="ns24:desNotas"/>
                  </xsl:attribute>
                  <xsl:attribute name="DES_ESTADO">
                    <xsl:text disable-output-escaping="no">P</xsl:text>
                  </xsl:attribute>
                  <xsl:attribute name="NUM_CANTDOCUBINA">
                    <xsl:value-of select="ns24:numCantdocubina"/>
                  </xsl:attribute>
                  <xsl:attribute name="COD_GRUPO">
                    <xsl:text disable-output-escaping="no">COD_GRUPO</xsl:text>
                  </xsl:attribute>
                  <xsl:attribute name="COD_SCLASEEVENASOC">
                    <xsl:text disable-output-escaping="no">COD_SCLASEEVENASOC</xsl:text>
                  </xsl:attribute>
                  <ns18:METADATOS>
                    <xsl:for-each select="ns24:viSicdocu/ns24:viSicdocutatriCollection/ns24:ViSicdocutatri">
                      <ns18:METADATA>
                        <xsl:attribute name="DES_ATRIBUTO">
                          <xsl:value-of select="ns24:sic1Tatri/ns24:desEtiqueta"/>
                        </xsl:attribute>
                        <xsl:attribute name="DES_VALOR">
                          <xsl:value-of select="ns24:codValoratrib"/>
                        </xsl:attribute>
                      </ns18:METADATA>
                    </xsl:for-each>
                  </ns18:METADATOS>
                </ns18:REQUERIMIENTO>
              </xsl:for-each>
            </ns18:REQUERIMIENTOS_FINANCIERO>
          </ns18:solicitud>
          <ns18:PLANTILLAS>
            <xsl:for-each select="$obtenerPlantillas_OutputVariable.ViSicsclasevenplantCollection/top:ViSicsclasevenplantCollection/top:ViSicsclasevenplant">
              <ns18:PLANTILLA>
                <xsl:attribute name="COD_STIPODOCU">
                  <xsl:value-of select="top:codStipodocu"/>
                </xsl:attribute>
                <xsl:attribute name="DES_RUTAPLANTILLA">
                  <xsl:value-of select="top:desRutaplantilla"/>
                </xsl:attribute>
                <xsl:attribute name="NUM_TIPOENVIO">
                  <xsl:value-of select="top:numTipoenvio"/>
                </xsl:attribute>
                <xsl:attribute name="DES_FORMATO">
                  <xsl:value-of select="top:desFormato"/>
                </xsl:attribute>
                <xsl:attribute name="DES_LOCAL">
                  <xsl:value-of select="top:desLocal"/>
                </xsl:attribute>
                <xsl:attribute name="DES_PLANTILLA">
                  <xsl:value-of select="top:desPlantilla"/>
                </xsl:attribute>
              </ns18:PLANTILLA>
            </xsl:for-each>
          </ns18:PLANTILLAS>
          <ns18:URLEXTERNAS>
            <xsl:for-each select="$datosAdicionales_OutputVariable.ViSicversudmCollection/ns28:ViSicversudmCollection/ns28:ViSicversudm">
              <ns18:URLEXTERNA>
                <xsl:attribute name="DES_VERSUDM">
                  <xsl:value-of select="ns28:desVersudm"/>
                </xsl:attribute>
                <xsl:attribute name="COD_VERSUDM">
                  <xsl:value-of select="ns28:codVersudm"/>
                </xsl:attribute>
                <xsl:attribute name="DES_VALOR">
                  <xsl:value-of select="ns28:desValor"/>
                </xsl:attribute>
              </ns18:URLEXTERNA>
            </xsl:for-each>
          </ns18:URLEXTERNAS>
        </ns18:solicitudes>
        <ns18:ERROR>
          <xsl:if test="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:ERROR/@ID_ERROR">
            <xsl:attribute name="ID_ERROR">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:ERROR/@ID_ERROR"/>
            </xsl:attribute>
          </xsl:if>
          <xsl:if test="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:ERROR/@DES_ERROR">
            <xsl:attribute name="DES_ERROR">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:ERROR/@DES_ERROR"/>
            </xsl:attribute>
          </xsl:if>
          <xsl:if test="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:ERROR/@FEC_ERROR">
            <xsl:attribute name="FEC_ERROR">
              <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:ERROR/@FEC_ERROR"/>
            </xsl:attribute>
          </xsl:if>
          <xsl:value-of select="/ns8:ABRIREXPEDIENTEMR/ns8:EXPEDIENTE/ns3:ERROR"/>
        </ns18:ERROR>
      </ns18:getSolicitudTupaRM>
    </ns25:inicioBpmEvaluacion>
  </xsl:template>
</xsl:stylesheet>
